<?php
class ome_ctl_admin_delivery_cfg extends desktop_controller{
	function index(){
		if(!empty($_POST)){
		    $this->begin("index.php?app=ome&ctl=admin_delivery_cfg&act=index");
		    //if (intval($_POST['set']['ome_batch_print_nums']) < 1) $this->end(false, '打印数量必须大于1');
			$this->app->setConf('ome.delivery.status.cfg',$_POST);
			$this->end(true, '修改成功');
		}
		$this->pagedata['data'] = $this->app->getConf('ome.delivery.status.cfg');
//		print_r($this->app->getConf('ome.delivery.status.cfg'));
		$this->page('admin/delivery/delivery_cfg.html');
	}
}